<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Modeling</title>
<link rel="stylesheet" href="__ROOT__/themes/fancybox/jquery.fancybox-1.3.4.css" type="text/css" media="screen" />
{:importCSS("template.css|style.css|contractor.css|font.css")}
{:importJS("jquery.min.js")}
<script type="text/javascript">
$().ready(function () {
	$('#countrybutton').fancybox({
		'margin'	:	0,
		'padding'	:	0,
		'width'	:	500,
	});
	$("#dosearch").click(function() { 
		if ( $('input#name').val() == '{:L('CONTRACTOR_NAME')}' ) { 
			$('input#name').val("") 
		}; 
		$('form').submit(); 
	});
});
</script>
</head>
<body>
<include file="public:header" />
<div class="main center clearfix">
	<div class="searchbox"><form method="get" action="{:U('contractor/index')}">
        <div class="clear"></div>
        <div class="namebox box"><input type="text" id="name" name="name" value="{:inputDefault('name',L('CONTRACTOR_NAME'))}" onfocus="if(value=='{:L('CONTRACTOR_NAME')}') {value=''} setStyleOne(this.id)" onblur="if (value=='') { value='{:L('CONTRACTOR_NAME')}' } setStyleTwo(this.id)"/></div>
        <div class="countrybox box">
            <div id="countryname" class="country"><php>
            	$__country = inputDefault('country',L('WORK_COUNTRY'));
            	if (L('COUNTRY_LANG') == "en" || $__country == L('WORK_COUNTRY')) {
            		echo $__country;
            	} else {
            		echo M("country")->getFieldByEn($__country,L('COUNTRY_LANG'));
            	}
            	</php>
            </div>
            <a id="countrybutton" href="#countrybox"><div class="countrybutton"></div></a>
            <div class="hide">
            <include file="public:countrybox" />
            </div>
    	</div>
        <div class="accbox box">
    		<div class="inputimg"><img src="__ROOT__/themes/images/vendor-acc-dark.png" /></div>
            <div class="inputname">{:L('CONTRACTOR_AUTHENTICATION')}</div>
            <div class="choice"><img src="__ROOT__/themes/images/su-{:($_REQUEST['isverify']?'':'dis')}agree.png" id="checkAut" /></div>
            <input type="hidden" id="aut" name="isverify" class="hide" value="{:($_REQUEST['isverify']?'1':'0')}"/>
    	</div>
        <div class="probox box">
    		<div class="inputimg"><img src="__ROOT__/themes/images/vendor-pro.png" /></div>
            <div class="inputname">{:L('CONTRACTOR_CASE')}</div>
            <div class="choice"><img src="__ROOT__/themes/images/su-{:($_REQUEST['hasCase']?'':'dis')}agree.png" id="checkPro"/></div>
            <input type="hidden" id="profile" name="hasCase" class="hide" value="{:($_REQUEST['hasCase']?'1':'0')}"/>
    	</div>
        <div class="dosearch">
        	<a class="button" id="dosearch" href="javascript:void(0)">{:L('CONTRACTOR_SEARCH')}</a>
    	</div>
    	</form>
    </div>
    <div class="clear"></div>
    <div class="headline">
    	<div class="pinfor line">{:L('CONTRACTOR_PERSONAL_INFO')}</div>
        <div class="pskill line">{:L('CONTRACTOR_SKILLS')}</div>
        <div class="ppro line">{:L('CONTRACTOR_PROFILE')}</div>
        <div class="pfeed line">{:L('CONTRACTOR_FEEDBACK')}</div>
        <div class="pacq line">{:L('CONTRACTOR_PROJECTS_ACQUIRED')}</div>
        <div class="pup line">{:L('CONTRACTOR_CASES_UPLOADED')}</div>
        <div class="pre line">{:L('CONTRACTOR_TOTAL_REVENUE')}</div>
    </div>
    <div class="clear"></div>
    <table class="list">
    	<volist name="_list" id="vo">
    	<tr class="person">
        	<td class="pimg"><div style="height:50px;width:50px;overflow:hidden"><a href="{:U('/contractor/view/'.$vo['id'])}"><img src="{:getAvatar($vo)}" width=50 /></a></div></td>
            <td class="pinfor">
            	<div class="pname"><a href="{:U('/contractor/view/'.$vo['id'])}">{$vo.username}</a></div>
                <div class="pcoun">{:M("country")->getFieldByCode($vo['country'],L('COUNTRY_LANG'))}</div>
                <div class="clear"></div>
                <div class="pcer"><eq name="vo.isverify" value="4"><img src="__ROOT__/themes/images/vendor-acc.png" style="float:left;"/><div style="float:left;padding-top:2px;">{:h(xserialize($vo['verifyinfo'],'realname'))}</div></eq></div>
            </td>
            <td class="pskill">{$vo.userskill}</td>
            <td class="ppro">85%</td>
            <td class="pfeed">{$vo.remark}%</td>
            <td class="pacq">{:countAcq($vo['id'])}</td>
            <td class="pup">{:countCase($vo['id'])}</td>
            <td class="ppre">{$vo.revenue}</td>
        </tr>
        </volist>
        <!--
        <tr class="person">
        	<td class="pimg"><img src="__ROOT__/themes/images/pimg1.png" /></td>
            <td class="pinfor">
            	<div class="pname"><a href="contractor-single.html">DavidTian</a></div>
                <div class="pcoun">China</div>
                <div class="clear"></div>
                <div class="pcer"><div style="float:left;padding-top:2px;">No Certification</div></div>
            </td>
            <td class="pskill">Key-Animetor/Character Setting/3D Modelling/Skeleton Binding</td>
            <td class="ppro">85%</td>
            <td class="pfeed">95%</td>
            <td class="pacq">12</td>
            <td class="pup">20</td>
            <td class="ppre">4000</td>
        </tr>
        <tr class="person">
        	<td class="pimg"><img src="__ROOT__/themes/images/pimg1.png" /></td>
            <td class="pinfor">
            	<div class="pname"><a href="contractor-single.html">DavidTian</a></div>
                <div class="pcoun">China</div>
                <div class="clear"></div>
                <div class="pcer"><div style="float:left;padding-top:2px;">No Certification</div></div>
            </td>
            <td class="pskill">Key-Animetor/Character Setting/3D Modelling/Skeleton Binding</td>
            <td class="ppro">85%</td>
            <td class="pfeed">95%</td>
            <td class="pacq">12</td>
            <td class="pup">20</td>
            <td class="ppre">4000</td>
        </tr>
        <tr class="person">
        	<td class="pimg"><img src="__ROOT__/themes/images/pimg.png" /></td>
            <td class="pinfor">
            	<div class="pname"><a href="contractor-single.html">DavidTian</a></div>
                <div class="pcoun">China</div>
                <div class="clear"></div>
                <div class="pcer"><img src="__ROOT__/themes/images/vendor-acc.png" style="float:left;"/><div style="float:left;padding-top:2px;">Tian DaWei</div></div>
            </td>
            <td class="pskill">Key-Animetor/Character Setting/3D Modelling/Skeleton Binding</td>
            <td class="ppro">85%</td>
            <td class="pfeed">95%</td>
            <td class="pacq">12</td>
            <td class="pup">20</td>
            <td class="ppre">4000</td>
        </tr>
        <tr class="person">
        	<td class="pimg"><img src="__ROOT__/themes/images/pimg.png" /></td>
            <td class="pinfor">
            	<div class="pname"><a href="contractor-single.html">DavidTian</a></div>
                <div class="pcoun">China</div>
                <div class="clear"></div>
                <div class="pcer"><img src="__ROOT__/themes/images/vendor-acc.png" style="float:left;"/><div style="float:left;padding-top:2px;">Tian DaWei</div></div>
            </td>
            <td class="pskill">Key-Animetor/Character Setting/3D Modelling/Skeleton Binding</td>
            <td class="ppro">85%</td>
            <td class="pfeed">95%</td>
            <td class="pacq">12</td>
            <td class="pup">20</td>
            <td class="ppre">4000</td>
        </tr>
        <tr class="person">
        	<td class="pimg"><img src="__ROOT__/themes/images/pimg.png" /></td>
            <td class="pinfor">
            	<div class="pname"><a href="contractor-single.html">DavidTian</a></div>
                <div class="pcoun">China</div>
                <div class="clear"></div>
                <div class="pcer"><img src="__ROOT__/themes/images/vendor-acc.png" style="float:left;"/><div style="float:left;padding-top:2px;">Tian DaWei</div></div>
            </td>
            <td class="pskill">Key-Animetor/Character Setting/3D Modelling/Skeleton Binding</td>
            <td class="ppro">85%</td>
            <td class="pfeed">95%</td>
            <td class="pacq">12</td>
            <td class="pup">20</td>
            <td class="ppre">4000</td>
        </tr>
        <tr class="person">
        	<td class="pimg"><img src="__ROOT__/themes/images/pimg.png" /></td>
            <td class="pinfor">
            	<div class="pname"><a href="contractor-single.html">DavidTian</a></div>
                <div class="pcoun">China</div>
                <div class="clear"></div>
                <div class="pcer"><img src="__ROOT__/themes/images/vendor-acc.png" style="float:left;"/><div style="float:left;padding-top:2px;">Tian DaWei</div></div>
            </td>
            <td class="pskill">Key-Animetor/Character Setting/3D Modelling/Skeleton Binding</td>
            <td class="ppro">85%</td>
            <td class="pfeed">95%</td>
            <td class="pacq">12</td>
            <td class="pup">20</td>
            <td class="ppre">4000</td>
        </tr>
        <tr class="person">
        	<td class="pimg"><img src="__ROOT__/themes/images/pimg.png" /></td>
            <td class="pinfor">
            	<div class="pname"><a href="contractor-single.html">DavidTian</a></div>
                <div class="pcoun">China</div>
                <div class="clear"></div>
                <div class="pcer"><img src="__ROOT__/themes/images/vendor-acc.png" style="float:left;"/><div style="float:left;padding-top:2px;">Tian DaWei</div></div>
            </td>
            <td class="pskill">Key-Animetor/Character Setting/3D Modelling/Skeleton Binding</td>
            <td class="ppro">85%</td>
            <td class="pfeed">95%</td>
            <td class="pacq">12</td>
            <td class="pup">20</td>
            <td class="ppre">4000</td>
        </tr>
        <tr class="person">
        	<td class="pimg"><img src="__ROOT__/themes/images/pimg.png" /></td>
            <td class="pinfor">
            	<div class="pname"><a href="contractor-single.html">DavidTian</a></div>
                <div class="pcoun">China</div>
                <div class="clear"></div>
                <div class="pcer"><img src="__ROOT__/themes/images/vendor-acc.png" style="float:left;"/><div style="float:left;padding-top:2px;">Tian DaWei</div></div>
            </td>
            <td class="pskill">Key-Animetor/Character Setting/3D Modelling/Skeleton Binding</td>
            <td class="ppro">85%</td>
            <td class="pfeed">95%</td>
            <td class="pacq">12</td>
            <td class="pup">20</td>
            <td class="ppre">4000</td>
        </tr>
        <tr class="person">
        	<td class="pimg"><img src="__ROOT__/themes/images/pimg.png" /></td>
            <td class="pinfor">
            	<div class="pname"><a href="contractor-single.html">DavidTian</a></div>
                <div class="pcoun">China</div>
                <div class="clear"></div>
                <div class="pcer"><img src="__ROOT__/themes/images/vendor-acc.png" style="float:left;"/><div style="float:left;padding-top:2px;">Tian DaWei</div></div>
            </td>
            <td class="pskill">Key-Animetor/Character Setting/3D Modelling/Skeleton Binding</td>
            <td class="ppro">85%</td>
            <td class="pfeed">95%</td>
            <td class="pacq">12</td>
            <td class="pup">20</td>
            <td class="ppre">4000</td>
        </tr>-->
        <tr>
        	<td class="page">{$_page}</td>
        </tr>
    </table>
</div>
<include file="public:footer" />
{:importJS("downlist.js|input.js|signup.js")}
<script type="text/javascript" src="__ROOT__/themes/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
</body>
</html>
